package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.entity.Result;
import com.itheima.health.pojo.CheckGroup;

import java.util.List;

/**
 * @Author ZhangXiXi
 * @Description TODO
 * @date 2021/1/9 12:29
 * @Version 1.0
 */
public interface CheckGroupService {

    void add(CheckGroup checkGroup, Integer[] checkitemsIds);

    PageResult pageQuery(QueryPageBean queryPageBean);

    void edit(CheckGroup checkGroup, Integer[] checkitemsIds);



    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    CheckGroup findById(Integer id);

    Result delete(Integer id);


    List<CheckGroup> findAll();
}
